home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / WASTE 1.2a4 / WASTE Demo / WEDemoMain.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-25  |  340 b   |  30 lines  |  [TEXT/CWIE]

  1. /*
  2.     WASTE Demo Project:
  3.     Main Program
  4.         
  5.     Copyright © 1993-1995 Marco Piovanelli
  6.     All Rights Reserved
  7.  
  8.     C port by John C. Daub
  9. */
  10.  
  11. #ifndef __WEDEMOAPP__
  12. #include "WEDemoIntf.h"
  13. #endif
  14.  
  15. void    main( void );
  16.  
  17. void    main( void )
  18. {
  19.     if ( Initialize() == noErr )
  20.     {
  21.         do
  22.         {
  23.             ProcessEvent();
  24.         } while ( !gExiting );
  25.     }
  26.     
  27.     Finalize();
  28.  
  29.     return;
  30. }